{extend name="$_admin_base_layout" /}

{block name="content"}
<div class="block" id="block">
    <div class="block-content block-content-narrow">
        <div class="push-30-t push-30 hidden-print">

        </div>
        <hr class="hidden-print">
        <div id="printArea">
            <div class="row">
                <div class="col-xs-6 col-sm-4 col-lg-3">
                    <p class="h2 font-w400 push-5">订单信息</p>
                    <address>
                        持卡人：{$card.user_name}<br>
                        卡&nbsp;&nbsp; 号：{$card.card_code}<br>
                        卡类型：{$card.card_type}<br>
                    </address>
                </div>
                <div class="col-xs-6 col-sm-4 col-sm-offset-4 col-lg-3 col-lg-offset-6">
                    <p class="h2 font-w400 push-5">食堂电子卡</p>
                    <address>
                        <img src="{$card.path}">
                    </address>
                </div>
            </div>
            <!-- END Invoice Info -->

        </div>
    </div>
</div>
{/block}
{block name='script'}
{__block__}
<!--<script src="__ADMIN_JS__/core/jquery.min.js"></script>-->
<script src="__ADMIN_JS__/core/jquery.PrintArea.min.js"></script>
<script>
    $("#btnPrint").click(function(){
        $("#printArea").printArea();
    });
</script>
{/block}